// import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
//导入element-plus 和 他的样式
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

//导入粒子库特效-登陆背景用
import Particles from "@tsparticles/vue3";
import { loadSlim } from "@tsparticles/slim"; 
//vuex store
import store from '@/store'
//引入axios请求拦截器
import '@/util/axios.config'


const app = createApp(App)

app.use(router)
//注册ElementPlus 将其集成到你的Vue3项目中
app.use(ElementPlus)
//注册Particles粒子库 将其集成到你的Vue3项目中
app.use(Particles, {
  init: async engine => {
    await loadSlim(engine);
  },
});
//注册vuex store
app.use(store)

app.mount('#app')
